package com.atguigu.orderservice.client;

import com.atguigu.common_uitls.orderVo.UcenterMemberVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * zz: wzh
 * time 2022 10 06 20 32
 **/
@Component
@FeignClient("service-ucenter")
public interface UcenterClient {
    //根据用户id获取用户的信息
    @PostMapping("/educenter/member/getUserInfoOrder/{id}")
    public UcenterMemberVo getUserInfoOrder(@PathVariable("id") String id);
}
